<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-wdyUser-edit" th:object="${wdyUser}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
				<div class="form-group">	
				<label class="col-sm-3 control-label">用户id：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">昵称：</label>
				<div class="col-sm-8">
					<input id="nickName" name="nickName" th:field="*{nickName}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">头像：</label>
				<div class="col-sm-8">
					<input id="headImg" name="headImg" th:field="*{headImg}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">用户名：</label>
				<div class="col-sm-8">
					<input id="userName" name="userName" th:field="*{userName}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">手机号码：</label>
				<div class="col-sm-8">
					<input id="mobilePhone" name="mobilePhone" th:field="*{mobilePhone}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">邮箱：</label>
				<div class="col-sm-8">
					<input id="email" name="email" th:field="*{email}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">密码：</label>
				<div class="col-sm-8">
					<input id="password" name="password" th:field="*{password}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">实名认证(0否，1是)：</label>
				<div class="col-sm-8">
					<input id="certified" name="certified" th:field="*{certified}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">姓名：</label>
				<div class="col-sm-8">
					<input id="realName" name="realName" th:field="*{realName}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">证件号码：</label>
				<div class="col-sm-8">
					<input id="idCardNo" name="idCardNo" th:field="*{idCardNo}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">交易密码：</label>
				<div class="col-sm-8">
					<input id="tradePassword" name="tradePassword" th:field="*{tradePassword}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">cnn余额：</label>
				<div class="col-sm-8">
					<input id="cnnAmount" name="cnnAmount" th:field="*{cnnAmount}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">cnn可提现余额：</label>
				<div class="col-sm-8">
					<input id="cnnWithdrawAmount" name="cnnWithdrawAmount" th:field="*{cnnWithdrawAmount}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">vc余额：</label>
				<div class="col-sm-8">
					<input id="vcAmount" name="vcAmount" th:field="*{vcAmount}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">vc消费资产：</label>
				<div class="col-sm-8">
					<input id="vcConsumeAmount" name="vcConsumeAmount" th:field="*{vcConsumeAmount}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">vc理财资产：</label>
				<div class="col-sm-8">
					<input id="vcWithdrawAmount" name="vcWithdrawAmount" th:field="*{vcWithdrawAmount}" class="form-control" type="text">
				</div>
			</div>



			<div class="form-group">
				<label class="col-sm-3 control-label">eth余额：</label>
				<div class="col-sm-8">
					<input id="ethAmount" name="vcConsumeAmount" th:field="*{ethAmount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">usdt余额：</label>
				<div class="col-sm-8">
					<input id="usdtAmount" name="vcWithdrawAmount" th:field="*{usdtAmount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">钱包地址：</label>
				<div class="col-sm-8">
					<input id="walletAddress" name="walletAddress" th:field="*{walletAddress}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">钱包密钥：</label>
				<div class="col-sm-8">
					<input id="walletPrivateKey" name="walletPrivateKey" th:field="*{walletPrivateKey}" class="form-control" type="text">
				</div>
			</div>


					<div class="form-group">	
				<label class="col-sm-3 control-label">邀请码：</label>
				<div class="col-sm-8">
					<input id="referrerCode" name="referrerCode" th:field="*{referrerCode}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">推荐人id：</label>
				<div class="col-sm-8">
					<input id="referrerId" name="referrerId" th:field="*{referrerId}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">领导人id：</label>
				<div class="col-sm-8">
					<input id="leaderId" name="leaderId" th:field="*{leaderId}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">等级：</label>
				<div class="col-sm-8">
					<select name="level" class="form-control m-b" th:with="type=${@dict.getType('user_level')}">
						<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{level}"></option>
					</select>
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">版本号：</label>
				<div class="col-sm-8">
					<input id="version" name="version" th:field="*{version}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">删除标志（0代表存在 1代表删除）：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" th:field="*{delFlag}" class="form-control" type="text">
				</div>
			</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">创建者：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
				</div>
			</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">创建时间：</label>
			<div class="col-sm-8">
				<input id="createTime"  name="createTime" th:value="*{#dates.format(createTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control time-input" type="text">
			</div>
		</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">更新者：</label>
				<div class="col-sm-8">
					<input id="updateBy" name="updateBy" th:field="*{updateBy}" class="form-control" type="text">
				</div>
			</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">更新时间：</label>
			<div class="col-sm-8">
				<input id="updateTime"  name="updateTime" th:value="*{#dates.format(updateTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control time-input" type="text">
			</div>
		</div>
					<div class="form-group">	
				<label class="col-sm-3 control-label">备注信息：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
			</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/wdyUser";
		$("#form-wdyUser-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-wdyUser-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
